﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace WinnerCMS.Model 
{
    public partial class Business
    {
        [DataMember, NotMapped]
        public int DateOff
        {
            get
            {
                return (DateTime.Now - this.CreateTime).Days;
            }
        }
    }
}
